<div class="form-group  has-feedback">
  <label class="col-sm-3 control-label">Fecha *</label>
  <div class="col-sm-2"> 
        <?php 
         $atributos = array('type' => 'text', 
                           'class' => 'form-control', 
                           'placeholder' => 'Fecha',
                           'name' => 'input_date',
                           'id' => 'input_date',
                           'placeholder' => 'Fecha',
                           'data-original-title' => 'Fecha',
                           'required' => 'required',
                           'value' => $objEntidad->fecha);
           echo form_input($atributos);
         
        ?> 
        <span class="fa fa-calendar  form-control-feedback"></span>
      </div>
</div>


<div class="form-group">
  <label class="col-sm-3 control-label">Cantidad</label>
  <div class="col-sm-2">
    <?php 
    $atributos = array('type' => 'text', 
                       'class' => 'form-control', 
                       'name' => 'txt_cantidad',
                       'id' => 'txt_cantidad',
                       'placeholder' => 'Cantidad',
                       'data-original-title' => 'Cantidad',
                       'required' => 'required',
                       'value' => $objEntidad->cantidad);
    echo form_input($atributos);
    ?>
  </div>
</div>

<div class="form-group">
  <label class="col-sm-3 control-label">Tanque</label>
  <div class="col-sm-3">
    <?php
    $opcionesTanques = array(); 
    if(isset($listado_tanques)){
      foreach ($listado_tanques as $tanque) { 
        $opcionesTanques[$tanque->id] = $tanque->identificacion;
        $defaultSelection = $tanque->id;
      }
      echo form_dropdown('sel_tanques', $opcionesTanques, $defaultSelection, "id = sel_tanques, class = 'form-control'");
    } ?> 
  </div>
</div>

<!--
<div class="form-group">
  <label class="col-sm-3 control-label">Tipo</label>
   <div class="col-sm-2">

   

     <select name="select" id='sel_tipos' class='form-control'>
      <option value="0">Egreso</option> 
      <option value="1" selected>Ingreso</option>
    </select>
  

  </div>
</div>
 -->